# Generated by Django 5.0.6 on 2024-06-05 17:35

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('backend', '0001_initial'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='leave',
            options={'verbose_name': 'Отпуск', 'verbose_name_plural': 'Отпуска'},
        ),
        migrations.AlterModelOptions(
            name='radiologist',
            options={'verbose_name': 'Врач-рентгенолог', 'verbose_name_plural': 'Врачи-рентгенологи'},
        ),
        migrations.AlterModelOptions(
            name='schedule',
            options={'verbose_name': 'Расписание', 'verbose_name_plural': 'Расписания'},
        ),
        migrations.AlterModelOptions(
            name='study',
            options={'verbose_name': 'Исследование', 'verbose_name_plural': 'Исследования'},
        ),
        migrations.AlterModelOptions(
            name='unforeseencircumstance',
            options={'verbose_name': 'Непредвиденное обстоятельство', 'verbose_name_plural': 'Непредвиденные обстоятельства'},
        ),
        migrations.AlterModelOptions(
            name='user',
            options={'verbose_name': 'Пользователь', 'verbose_name_plural': 'Пользователи'},
        ),
        migrations.AlterModelOptions(
            name='workload',
            options={'verbose_name': 'Нагрузка', 'verbose_name_plural': 'Нагрузки'},
        ),
        migrations.AlterField(
            model_name='leave',
            name='end_date',
            field=models.DateField(verbose_name='Дата окончания'),
        ),
        migrations.AlterField(
            model_name='leave',
            name='leave_type',
            field=models.CharField(choices=[('vacation', 'Отпуск'), ('sick', 'Больничный')], max_length=20, verbose_name='Тип отпуска'),
        ),
        migrations.AlterField(
            model_name='leave',
            name='radiologist',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='backend.radiologist', verbose_name='Врач-рентгенолог'),
        ),
        migrations.AlterField(
            model_name='leave',
            name='start_date',
            field=models.DateField(verbose_name='Дата начала'),
        ),
        migrations.AlterField(
            model_name='radiologist',
            name='additional_modalities',
            field=models.JSONField(default=list, verbose_name='Дополнительные модальности'),
        ),
        migrations.AlterField(
            model_name='radiologist',
            name='first_name',
            field=models.CharField(max_length=50, verbose_name='Имя'),
        ),
        migrations.AlterField(
            model_name='radiologist',
            name='full_month_hours',
            field=models.IntegerField(verbose_name='Полные месячные часы'),
        ),
        migrations.AlterField(
            model_name='radiologist',
            name='last_name',
            field=models.CharField(max_length=50, verbose_name='Фамилия'),
        ),
        migrations.AlterField(
            model_name='radiologist',
            name='middle_name',
            field=models.CharField(blank=True, max_length=50, null=True, verbose_name='Отчество'),
        ),
        migrations.AlterField(
            model_name='radiologist',
            name='modality',
            field=models.CharField(max_length=50, verbose_name='Модальность'),
        ),
        migrations.AlterField(
            model_name='radiologist',
            name='position',
            field=models.CharField(max_length=50, verbose_name='Должность'),
        ),
        migrations.AlterField(
            model_name='radiologist',
            name='rate',
            field=models.FloatField(verbose_name='Ставка'),
        ),
        migrations.AlterField(
            model_name='radiologist',
            name='tab_number',
            field=models.CharField(max_length=20, verbose_name='Табельный номер'),
        ),
        migrations.AlterField(
            model_name='radiologist',
            name='working_hours',
            field=models.IntegerField(verbose_name='Рабочие часы'),
        ),
        migrations.AlterField(
            model_name='schedule',
            name='break_duration',
            field=models.IntegerField(verbose_name='Продолжительность перерыва'),
        ),
        migrations.AlterField(
            model_name='schedule',
            name='date',
            field=models.DateField(verbose_name='Дата'),
        ),
        migrations.AlterField(
            model_name='schedule',
            name='is_approved',
            field=models.BooleanField(default=False, verbose_name='Одобрено'),
        ),
        migrations.AlterField(
            model_name='schedule',
            name='radiologist',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='backend.radiologist', verbose_name='Врач-рентгенолог'),
        ),
        migrations.AlterField(
            model_name='schedule',
            name='shift_end',
            field=models.TimeField(verbose_name='Конец смены'),
        ),
        migrations.AlterField(
            model_name='schedule',
            name='shift_start',
            field=models.TimeField(verbose_name='Начало смены'),
        ),
        migrations.AlterField(
            model_name='schedule',
            name='worked_hours',
            field=models.DecimalField(decimal_places=1, max_digits=4, verbose_name='Отработанные часы'),
        ),
        migrations.AlterField(
            model_name='study',
            name='is_multiple_zones',
            field=models.BooleanField(default=False, verbose_name='Множественные зоны'),
        ),
        migrations.AlterField(
            model_name='study',
            name='is_with_contrast',
            field=models.BooleanField(default=False, verbose_name='С контрастом'),
        ),
        migrations.AlterField(
            model_name='study',
            name='modality',
            field=models.CharField(max_length=50, verbose_name='Модальность'),
        ),
        migrations.AlterField(
            model_name='study',
            name='quantity',
            field=models.IntegerField(verbose_name='Количество'),
        ),
        migrations.AlterField(
            model_name='study',
            name='ue_per_study',
            field=models.FloatField(verbose_name='УЕ за исследование'),
        ),
        migrations.AlterField(
            model_name='study',
            name='week_number',
            field=models.IntegerField(verbose_name='Номер недели'),
        ),
        migrations.AlterField(
            model_name='study',
            name='year',
            field=models.IntegerField(verbose_name='Год'),
        ),
        migrations.AlterField(
            model_name='unforeseencircumstance',
            name='date',
            field=models.DateField(verbose_name='Дата'),
        ),
        migrations.AlterField(
            model_name='unforeseencircumstance',
            name='radiologist',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='backend.radiologist', verbose_name='Врач-рентгенолог'),
        ),
        migrations.AlterField(
            model_name='unforeseencircumstance',
            name='reason',
            field=models.CharField(max_length=200, verbose_name='Причина'),
        ),
        migrations.AlterField(
            model_name='workload',
            name='actual_quantity',
            field=models.IntegerField(blank=True, null=True, verbose_name='Фактическое количество'),
        ),
        migrations.AlterField(
            model_name='workload',
            name='actual_ue',
            field=models.FloatField(blank=True, null=True, verbose_name='Фактические УЕ'),
        ),
        migrations.AlterField(
            model_name='workload',
            name='modality',
            field=models.CharField(max_length=50, verbose_name='Модальность'),
        ),
        migrations.AlterField(
            model_name='workload',
            name='predicted_quantity',
            field=models.IntegerField(verbose_name='Прогнозируемое количество'),
        ),
        migrations.AlterField(
            model_name='workload',
            name='predicted_ue',
            field=models.FloatField(verbose_name='Прогнозируемые УЕ'),
        ),
        migrations.AlterField(
            model_name='workload',
            name='week_number',
            field=models.IntegerField(verbose_name='Номер недели'),
        ),
        migrations.AlterField(
            model_name='workload',
            name='year',
            field=models.IntegerField(verbose_name='Год'),
        ),
    ]
